package com.css.zfzx.data.postgresql.fxqhPriorityPG.repository.entity;

import com.vividsolutions.jts.geom.Geometry;

import javax.persistence.*;
import java.util.Date;
import java.util.Objects;

/**
 * @Description: data
 * @Author: lhl
 * @CreateDate: 2021/4/13 10:04
 */
@Entity
@Table(name = "fxqh_priority", schema = "public", catalog = "beforebase")
public class FxqhPriorityPostgresqlEntity {
    private String id;
    private String province;
    private String city;
    private String area;
    private String priority;
    private String isValid;
    private String partitionFlag;
    private String fxpcDcdxbmSjgl;
    private String createUser;
    private Date createTime;
    private String updateUser;
    private Date updateTime;
    private String extends1;
    private String extends2;
    private String extends3;
    private String extends4;
    private String extends5;
    private Geometry extends6;
    private String extends7;
    private String extends8;
    private String extends9;
    private String extends10;
    private String fxpcDataidSjgl;
    private String fxpcXzqhbmaSjgl;
    private String fxpcXzqhbmbSjgl;
    private String fxpcXzqhbmcSjgl;
    private String fxpcUpdatetimeSjgl;
    private String fxpcCreatetimeSjgl;
    private String fxpcSjztSjgl;
    private String fxpcShlcztSjgl;
    private String fxpcShztSjgl;
    private String fxpcSshySjgl;
    private String fxpcRqfpSjgl;
    private String fxpcPchSjgl;

    @Id
    @Column(name = "id")
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Basic
    @Column(name = "province")
    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    @Basic
    @Column(name = "city")
    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    @Basic
    @Column(name = "area")
    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    @Basic
    @Column(name = "priority")
    public String getPriority() {
        return priority;
    }

    public void setPriority(String priority) {
        this.priority = priority;
    }

    @Basic
    @Column(name = "is_valid")
    public String getIsValid() {
        return isValid;
    }

    public void setIsValid(String isValid) {
        this.isValid = isValid;
    }

    @Basic
    @Column(name = "partition_flag")
    public String getPartitionFlag() {
        return partitionFlag;
    }

    public void setPartitionFlag(String partitionFlag) {
        this.partitionFlag = partitionFlag;
    }

    @Basic
    @Column(name = "fxpc_dcdxbm_sjgl")
    public String getFxpcDcdxbmSjgl() {
        return fxpcDcdxbmSjgl;
    }

    public void setFxpcDcdxbmSjgl(String fxpcDcdxbmSjgl) {
        this.fxpcDcdxbmSjgl = fxpcDcdxbmSjgl;
    }

    @Basic
    @Column(name = "create_user")
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    @Basic
    @Column(name = "create_time")
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Basic
    @Column(name = "update_user")
    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    @Basic
    @Column(name = "update_time")
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Basic
    @Column(name = "extends1")
    public String getExtends1() {
        return extends1;
    }

    public void setExtends1(String extends1) {
        this.extends1 = extends1;
    }

    @Basic
    @Column(name = "extends2")
    public String getExtends2() {
        return extends2;
    }

    public void setExtends2(String extends2) {
        this.extends2 = extends2;
    }

    @Basic
    @Column(name = "extends3")
    public String getExtends3() {
        return extends3;
    }

    public void setExtends3(String extends3) {
        this.extends3 = extends3;
    }

    @Basic
    @Column(name = "extends4")
    public String getExtends4() {
        return extends4;
    }

    public void setExtends4(String extends4) {
        this.extends4 = extends4;
    }

    @Basic
    @Column(name = "extends5")
    public String getExtends5() {
        return extends5;
    }

    public void setExtends5(String extends5) {
        this.extends5 = extends5;
    }

    @Basic
    @Column(name = "extends6", columnDefinition="Geometry")
    public Geometry getExtends6() {
        return extends6;
    }

    public void setExtends6(Geometry extends6) {
        this.extends6 = extends6;
    }

    @Basic
    @Column(name = "extends7")
    public String getExtends7() {
        return extends7;
    }

    public void setExtends7(String extends7) {
        this.extends7 = extends7;
    }

    @Basic
    @Column(name = "extends8")
    public String getExtends8() {
        return extends8;
    }

    public void setExtends8(String extends8) {
        this.extends8 = extends8;
    }

    @Basic
    @Column(name = "extends9")
    public String getExtends9() {
        return extends9;
    }

    public void setExtends9(String extends9) {
        this.extends9 = extends9;
    }

    @Basic
    @Column(name = "extends10")
    public String getExtends10() {
        return extends10;
    }

    public void setExtends10(String extends10) {
        this.extends10 = extends10;
    }

    @Basic
    @Column(name = "fxpc_dataid_sjgl")
    public String getFxpcDataidSjgl() {
        return fxpcDataidSjgl;
    }

    public void setFxpcDataidSjgl(String fxpcDataidSjgl) {
        this.fxpcDataidSjgl = fxpcDataidSjgl;
    }

    @Basic
    @Column(name = "fxpc_xzqhbma_sjgl")
    public String getFxpcXzqhbmaSjgl() {
        return fxpcXzqhbmaSjgl;
    }

    public void setFxpcXzqhbmaSjgl(String fxpcXzqhbmaSjgl) {
        this.fxpcXzqhbmaSjgl = fxpcXzqhbmaSjgl;
    }

    @Basic
    @Column(name = "fxpc_xzqhbmb_sjgl")
    public String getFxpcXzqhbmbSjgl() {
        return fxpcXzqhbmbSjgl;
    }

    public void setFxpcXzqhbmbSjgl(String fxpcXzqhbmbSjgl) {
        this.fxpcXzqhbmbSjgl = fxpcXzqhbmbSjgl;
    }

    @Basic
    @Column(name = "fxpc_xzqhbmc_sjgl")
    public String getFxpcXzqhbmcSjgl() {
        return fxpcXzqhbmcSjgl;
    }

    public void setFxpcXzqhbmcSjgl(String fxpcXzqhbmcSjgl) {
        this.fxpcXzqhbmcSjgl = fxpcXzqhbmcSjgl;
    }

    @Basic
    @Column(name = "fxpc_updatetime_sjgl")
    public String getFxpcUpdatetimeSjgl() {
        return fxpcUpdatetimeSjgl;
    }

    public void setFxpcUpdatetimeSjgl(String fxpcUpdatetimeSjgl) {
        this.fxpcUpdatetimeSjgl = fxpcUpdatetimeSjgl;
    }

    @Basic
    @Column(name = "fxpc_createtime_sjgl")
    public String getFxpcCreatetimeSjgl() {
        return fxpcCreatetimeSjgl;
    }

    public void setFxpcCreatetimeSjgl(String fxpcCreatetimeSjgl) {
        this.fxpcCreatetimeSjgl = fxpcCreatetimeSjgl;
    }

    @Basic
    @Column(name = "fxpc_sjzt_sjgl")
    public String getFxpcSjztSjgl() {
        return fxpcSjztSjgl;
    }

    public void setFxpcSjztSjgl(String fxpcSjztSjgl) {
        this.fxpcSjztSjgl = fxpcSjztSjgl;
    }

    @Basic
    @Column(name = "fxpc_shlczt_sjgl")
    public String getFxpcShlcztSjgl() {
        return fxpcShlcztSjgl;
    }

    public void setFxpcShlcztSjgl(String fxpcShlcztSjgl) {
        this.fxpcShlcztSjgl = fxpcShlcztSjgl;
    }

    @Basic
    @Column(name = "fxpc_shzt_sjgl")
    public String getFxpcShztSjgl() {
        return fxpcShztSjgl;
    }

    public void setFxpcShztSjgl(String fxpcShztSjgl) {
        this.fxpcShztSjgl = fxpcShztSjgl;
    }

    @Basic
    @Column(name = "fxpc_sshy_sjgl")
    public String getFxpcSshySjgl() {
        return fxpcSshySjgl;
    }

    public void setFxpcSshySjgl(String fxpcSshySjgl) {
        this.fxpcSshySjgl = fxpcSshySjgl;
    }

    @Basic
    @Column(name = "fxpc_rqfp_sjgl")
    public String getFxpcRqfpSjgl() {
        return fxpcRqfpSjgl;
    }

    public void setFxpcRqfpSjgl(String fxpcRqfpSjgl) {
        this.fxpcRqfpSjgl = fxpcRqfpSjgl;
    }

    @Basic
    @Column(name = "fxpc_pch_sjgl")
    public String getFxpcPchSjgl() {
        return fxpcPchSjgl;
    }

    public void setFxpcPchSjgl(String fxpcPchSjgl) {
        this.fxpcPchSjgl = fxpcPchSjgl;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        FxqhPriorityPostgresqlEntity that = (FxqhPriorityPostgresqlEntity) o;
        return Objects.equals(id, that.id) &&
                Objects.equals(province, that.province) &&
                Objects.equals(city, that.city) &&
                Objects.equals(area, that.area) &&
                Objects.equals(priority, that.priority) &&
                Objects.equals(isValid, that.isValid) &&
                Objects.equals(partitionFlag, that.partitionFlag) &&
                Objects.equals(fxpcDcdxbmSjgl, that.fxpcDcdxbmSjgl) &&
                Objects.equals(createUser, that.createUser) &&
                Objects.equals(createTime, that.createTime) &&
                Objects.equals(updateUser, that.updateUser) &&
                Objects.equals(updateTime, that.updateTime) &&
                Objects.equals(extends1, that.extends1) &&
                Objects.equals(extends2, that.extends2) &&
                Objects.equals(extends3, that.extends3) &&
                Objects.equals(extends4, that.extends4) &&
                Objects.equals(extends5, that.extends5) &&
                Objects.equals(extends6, that.extends6) &&
                Objects.equals(extends7, that.extends7) &&
                Objects.equals(extends8, that.extends8) &&
                Objects.equals(extends9, that.extends9) &&
                Objects.equals(extends10, that.extends10) &&
                Objects.equals(fxpcDataidSjgl, that.fxpcDataidSjgl) &&
                Objects.equals(fxpcXzqhbmaSjgl, that.fxpcXzqhbmaSjgl) &&
                Objects.equals(fxpcXzqhbmbSjgl, that.fxpcXzqhbmbSjgl) &&
                Objects.equals(fxpcXzqhbmcSjgl, that.fxpcXzqhbmcSjgl) &&
                Objects.equals(fxpcUpdatetimeSjgl, that.fxpcUpdatetimeSjgl) &&
                Objects.equals(fxpcCreatetimeSjgl, that.fxpcCreatetimeSjgl) &&
                Objects.equals(fxpcSjztSjgl, that.fxpcSjztSjgl) &&
                Objects.equals(fxpcShlcztSjgl, that.fxpcShlcztSjgl) &&
                Objects.equals(fxpcShztSjgl, that.fxpcShztSjgl) &&
                Objects.equals(fxpcSshySjgl, that.fxpcSshySjgl) &&
                Objects.equals(fxpcRqfpSjgl, that.fxpcRqfpSjgl) &&
                Objects.equals(fxpcPchSjgl, that.fxpcPchSjgl);
    }

    @Override
    public int hashCode() {
        return Objects.hash(id, province, city, area, priority, isValid, partitionFlag, fxpcDcdxbmSjgl, createUser, createTime, updateUser, updateTime, extends1, extends2, extends3, extends4, extends5, extends6, extends7, extends8, extends9, extends10, fxpcDataidSjgl, fxpcXzqhbmaSjgl, fxpcXzqhbmbSjgl, fxpcXzqhbmcSjgl, fxpcUpdatetimeSjgl, fxpcCreatetimeSjgl, fxpcSjztSjgl, fxpcShlcztSjgl, fxpcShztSjgl, fxpcSshySjgl, fxpcRqfpSjgl, fxpcPchSjgl);
    }
}
